Skip to content

Fix GWP-ASan usable-size expectation - #882

Merged
Matthew Parkinson (mjp41) merged 3 commits into
microsoft:mainfrom
mjp41:fix/gwp-asan-malloc-usable-size
Sep 18, 2026
Merged

Matthew Parkinson (mjp41) merged 3 commits into
microsoft:mainfrom
mjp41:fix/gwp-asan-malloc-usable-size

Conversation

@mjp41

@mjp41 Matthew Parkinson (mjp41) commented Sep 17, 2026

Copy link
Copy Markdown
Member

Summary

  • distinguish primary snmalloc allocations from secondary allocations in the malloc usable-size test
  • retain exact rounded malloc_good_size expectations for unaligned primary allocations
  • require secondary allocations to provide at least the requested usable size without assuming exact equality

Validation

  • formatted src/test/func/malloc/malloc.cc
  • git diff --check
  • fresh-context implementation review approved
  • local GWP-ASan testing skipped because this checkout has no local GWP-ASan build; CI is the runtime validation source

This test-only fix is separate from #881.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 75ccdc6c-2024-4d81-b22f-f1b52fbe29cf
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 75ccdc6c-2024-4d81-b22f-f1b52fbe29cf
@mjp41
Matthew Parkinson (mjp41) force-pushed the fix/gwp-asan-malloc-usable-size branch from c071dbe to a27f95a Compare September 17, 2026 19:13
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 75ccdc6c-2024-4d81-b22f-f1b52fbe29cf
@mjp41
Matthew Parkinson (mjp41) merged commit f6358be into microsoft:main Sep 18, 2026
198 checks passed
@mjp41
Matthew Parkinson (mjp41) deleted the fix/gwp-asan-malloc-usable-size branch September 18, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant